Fight deprecation warnings in test
authorMatthias Clasen <mclasen@redhat.com>
Sat, 28 Jun 2014 04:41:26 +0000 (00:41 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 28 Jun 2014 04:41:26 +0000 (00:41 -0400)
This time, in installed tests.

testsuite/a11y/a11ychildren.test.in
testsuite/a11y/a11yderive.test.in
testsuite/a11y/a11ytests.test.in
testsuite/a11y/a11ytext.test.in
testsuite/a11y/a11ytree.test.in
testsuite/a11y/a11yutil.test.in
testsuite/a11y/a11yvalue.test.in
testsuite/gtk/Makefile.am

index 3424d6ff82544f54f48878f34ce134c81b1ab311..91ee1c2e66d557d069e614b38d3b83ee3a5a7b09 100644 (file)
@@ -1,4 +1,4 @@
 [Test]
-Exec=/bin/sh -c "@libexecdir@/installed-tests/gtk+/children"
+Exec=/bin/sh -c "env G_ENABLE_DIAGNOSTIC=0 @libexecdir@/installed-tests/gtk+/children"
 Type=session
 
index 12de661525eb9af8008d3bb9e9bea022dedfe353..b24dc3d2749f09c37c924ebf1f7c37e4f562af27 100644 (file)
@@ -1,4 +1,4 @@
 [Test]
-Exec=/bin/sh -c "@libexecdir@/installed-tests/gtk+/derive"
+Exec=/bin/sh -c "env G_ENABLE_DIAGNOSTIC=0 @libexecdir@/installed-tests/gtk+/derive"
 Type=session
 
index acf2acd95cf7898a8474693be778b604c404761c..99cb1ca5fbf196fc943040cc3e7b29a27eb83e18 100644 (file)
@@ -1,4 +1,4 @@
 [Test]
-Exec=/bin/sh -c "@libexecdir@/installed-tests/gtk+/accessibility-dump -k --verbose --directory @libexecdir@/installed-tests/gtk+/a11ytests"
+Exec=/bin/sh -c "env G_ENABLE_DIAGNOSTIC=0 @libexecdir@/installed-tests/gtk+/accessibility-dump -k --verbose --directory @libexecdir@/installed-tests/gtk+/a11ytests"
 Type=session
 
index 3bac807a50e46b7d72aa602327fb20c442f685c5..fb2db7de17dfa56de4a78e3477768709c91861fa 100644 (file)
@@ -1,4 +1,4 @@
 [Test]
-Exec=/bin/sh -c "@libexecdir@/installed-tests/gtk+/text"
+Exec=/bin/sh -c "env G_ENABLE_DIAGNOSTIC=0 @libexecdir@/installed-tests/gtk+/text"
 Type=session
 
index 4a9771eadcca879f8bc97850739e7c2b2978788c..a21b61a47f31c6ca6be35d366619c22bf22ff2b0 100644 (file)
@@ -1,4 +1,4 @@
 [Test]
-Exec=/bin/sh -c "@libexecdir@/installed-tests/gtk+/tree-relationships"
+Exec=/bin/sh -c "env G_ENABLE_DIAGNOSTIC=0 @libexecdir@/installed-tests/gtk+/tree-relationships"
 Type=session
 
index 311c8f31a335549ac833ab30504e688fd227f03d..ee1f6546010ed579fa856db4219e0146ff94c80f 100644 (file)
@@ -1,4 +1,4 @@
 [Test]
-Exec=/bin/sh -c "@libexecdir@/installed-tests/gtk+/util"
+Exec=/bin/sh -c "env G_ENABLE_DIAGNOSTIC=0 @libexecdir@/installed-tests/gtk+/util"
 Type=session
 
index 5df76fd07a4536801bbd900a50925e4f470636c4..deb7960ff1537619f4e0ee6b8e591449a2b3d0af 100644 (file)
@@ -1,4 +1,4 @@
 [Test]
-Exec=/bin/sh -c "@libexecdir@/installed-tests/gtk+/value"
+Exec=/bin/sh -c "env G_ENABLE_DIAGNOSTIC=0 @libexecdir@/installed-tests/gtk+/value"
 Type=session
 
index 0993b85fd5977e52eabcdfd32c6e8bfdd4aa77a4..281f95bbbb85334e0aad6cd3a99a414e55623d23 100644 (file)
@@ -181,7 +181,7 @@ nobase_insttest_DATA = $(test_icontheme)
 %.test: %$(EXEEXT) Makefile
        $(AM_V_GEN) (echo '[Test]' > $@.tmp; \
        echo 'Type=session' >> $@.tmp; \
-       echo 'Exec=$(insttestdir)/$<' >> $@.tmp; \
+       echo 'Exec=env G_ENABLE_DIAGNOSTIC=0 $(insttestdir)/$<' >> $@.tmp; \
        mv $@.tmp $@)
 
 test_files = $(TEST_PROGS:=.test)